package org.jeecg.modules.xl.home.query;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@ApiModel("首页统计查询条件")
public class HomeQuery {

    @ApiModelProperty("订单开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate orderDate_start;

    @ApiModelProperty("订单结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate orderDate_end;

    @ApiModelProperty("渠道")
    private String customerTypeCode;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("门店编码")
    private String storeCode;
}
